import { createBrowserRouter } from "react-router-dom";
import Login from '@/pages/Login';  // 默认会查找 Login/index.js 或 Login.js
import Layout from '@/pages/Layout';

const router = createBrowserRouter([
    {
        path: "/Layout",
        element: <Layout />,
    },
    {
        path: "/login",
        element: <Login />,
    }
]);
export default router;